<!doctype html>
<html lang="en">
<head>
  <meta charset="UTF-8">
  <title>Example - example-ng-readonly-production</title>
  

  <script src="//code.angularjs.org/1.8.2/angular.min.js"></script>
  

  
</head>
<body ng-app="">
  <label>Check me to make text readonly: <input type="checkbox" ng-model="checked"></label><br/>
<input type="text" ng-readonly="checked" value="I'm AngularJS" aria-label="Readonly field" />
</body>
</html>